﻿<UserControl x:Class="NexTrackDesktop.Controls.PartyStart"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="500" d:DesignWidth="700">
    <Grid MaxWidth="600" MaxHeight="350" MinWidth="350" MinHeight="250">
        <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="32">
            Party Code: <Run Text="{Binding Path=PartyCode,FallbackValue='0123456789',Mode=OneWay}" FontWeight="Bold" FontFamily="Consolas"/>
            <Run Text="&#10;" /><Run Text="{Binding Path=PartyName,FallbackValue='Your Party',Mode=OneWay}" FontSize="22" FontStyle="Italic" Foreground="Gray"/>
        </TextBlock>
        <TextBlock HorizontalAlignment="Stretch" Margin="12,102,12,0" VerticalAlignment="Top" TextWrapping="Wrap"
                   Text="Before you can start playing music you'll need to add music from the media library to your party's playlist."/>
        <!--Binds Start Music Button Command-->
        <Button Margin="0,0,0,12" Height="70" VerticalAlignment="Bottom" HorizontalAlignment="Center" Width="250"
                FontSize="32" Content="Start Music" Command="{Binding StartMusicCommand}"/>
    </Grid>
</UserControl>
